package be.telio.freeagent.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "tasks")
@XmlAccessorType(XmlAccessType.FIELD)
public class FATasks
{
    @XmlElement(name = "task")
    private List<FATask> tasks = new ArrayList<FATask>();

    public List<FATask> getTasks()
    {
        return tasks;
    }

    public void setTasks(List<FATask> tasks)
    {
        this.tasks = tasks;
    }
}
